#include "home_page.h"
#include "ui_home_page.h"

// 初始化天气
void Home_Page::my_weather()
{
    mNetAccessManager = new QNetworkAccessManager(this);
    connect(mNetAccessManager,&QNetworkAccessManager::finished,this,&Home_Page::onReplid);

    // 请求北京天气数据
    getWeatherInfo("101010100");
}

